package com.anglireports.report.data.base;


import com.anglireports.report.bean.base.BaseBean;

/**
 * @author lvjilei
 * @ceateTime 2019/3/28.
 */
public class ResponseDataModel<T extends BaseBean> extends BaseBean{
    private Integer err_code = ResultCodeEnum.SUCCESS.getErr_code();

    private String err_msg = ResultCodeEnum.SUCCESS.getErr_msg();

    private T response ;

    public ResponseDataModel() {
    }

    public ResponseDataModel(Integer err_code, String err_msg, T response) {
        this.err_code = err_code;
        this.err_msg = err_msg;
        this.response = response;
    }

    public Integer getErr_code() {
        return err_code;
    }

    public void setErr_code(Integer err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public T getResponse() {
        return response;
    }

    public void setResponse(T response) {
        this.response = response;
    }
}
